package com.evanflare.exception;

/**
 * @author Yanion_gwgzh
 * 这个异常类中，多带一个 tips 参数，作为提示返回给用户。
 */
public class MyException extends Exception{
    public MyException(){}
    public MyException(Exception e){
        super(e);
    }
    public MyException(Exception e, String tips){
        super(e);
        this.tips = tips;
    }
    private String tips;

    public String getTips() {
        return tips;
    }

    public void setTips(String tips) {
        this.tips = tips;
    }
}
